<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue第一天</title>
</head>

<body>
    <div class="app">
        <div>{{message}}{{aa}}</div>
        <img :src="img1" alt="">
        <img v-bind:src="img" alt="">
        <a :href="url">点我</a>
    </div>
    <script src="../js/vue.js"></script>
    <script>
        new Vue({
            //挂载
            el: ".app",
            //初始化数据
            data: {
                message: "nihao",
                aa: "vue",
                img: "../img/1.jpg",
                img1: "../img/2.jpg",
                url: "https://gitee.com/mouchun_admin"
            }
        })
    </script>
</body>

</html>